package com.lht.oauth2.jdbc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Eric
 * @since 2019-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SysRole对象", description="")
public class SysRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @TableField("create_time")
    private Long createTime;

    @TableField("create_user")
    private Long createUser;

    @TableField("update_time")
    private Long updateTime;

    @TableField("update_user")
    private Long updateUser;

    @TableField("update_desc")
    private String updateDesc;

    @TableField("priority")
    private Integer priority;

    @TableField("del_flag")
    @TableLogic
    private Integer delFlag;

    @TableField("role_name")
    private String roleName;


}
